//@charset "utf-8";
// 问句 - 搜索
define(function (require, exports, module) {	
	var AjaxBaseModel = require('../models/ajaxbase');
	var RelationQueryModel = AjaxBaseModel.extend({
		url : 'http://zx.10jqka.com.cn/i/index/index/app/7/',
		query : '',
		getRelationQuery : function (query, callback) {
			var self = this;
			self.callback = callback;

			if (query === self.query) {
				callback();
				return ;
			}
			self.query = query;
			self.request({
				q : query
			});
		}
	});

	module.exports = new RelationQueryModel();
});
